package com.movies.service.mapper;

import com.movies.service.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


public interface CommentMapper extends BaseMapper<Comment> {

    Comment selectCommentById(@Param("id") Long id);
    int insertComment(Comment comment);
    int updateCommentById(Comment comment);
    int deleteCommentById(@Param("id") Long id);
    int deleteCommentsByIds(@Param("ids") java.util.List<Long> ids);
}




